package com.xgp.mywordapp.service;

import com.xgp.mywordapp.model.User;

public interface UserService {

    /**
     * 使得总做题数+1
     * @return
     */
    public int updateAllWord(User user);

    /**
     * 使总刷题数+1，错题数+1
     * @return
     */
    public int updateAllWordAndErrorWord(User user);

    /**
     * 使总刷题数+1，错题数-1
     */
    public int updateAllWordAndSubErrorWord(User user);
}
